<template>
  <div class="errorpage">
    <div class="errorimg">
      <div class="img"></div>
    </div>
  </div>
</template>

<script type="text/ecmascript-6">
  export default {
    name: 'error404page',
    created() {
      this.$store.commit('END_LOADING');
    }
  };
</script>

<style lang="stylus" rel="stylesheet/stylus">
  .errorpage
    display flex
    justify-content center
    align-items center
    position absolute
    width 100%
    height 100%
    background-color rgb(12,1,34)
    .errorimg
      position relative
      width 0
      height 100%
      padding-left 100%
      .img
        position absolute
        top 0px
        left 0px
        width 100%
        height 100%
        background: url(404.jpg) no-repeat center fixed

</style>
